package edu.ucla.cs.CalorieCounter;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class GraphTuple {
	private List<Date> mDate;
	private List<Double> mCalorie;
	
	GraphTuple() {
		mDate = new ArrayList<Date>();
		mCalorie = new ArrayList<Double>();
	}
	
	public void add(Date date, double calorie)
	{
		mDate.add(date);
		mCalorie.add(calorie);
	}
	
	public Date getDate(int i) {
		return mDate.get(i);
	}
	
	public Double getCalorie(int i) {
		return mCalorie.get(i);
	}
	
	public int getSize()
	{
		return mDate.size();
	}
	
	
}
